This is a HyperCard 2.0 stack that I put together one afternoon. I needed to find an XCMD or XFCN to do a specific job. I knew I had one in one of the many stacks that I have. I quickly got tired of searching each file. So...
What you specify is:
1) The text string you wish to search for
2) Click on the file type field and select a file of the type you wish to search
3) Click on the resource type field and select XCMD or XFCN. If you edit this field's script you can add more to the list.
4) A list of the volumes (and optionally folders) that should be searched. This must be full path names with the volume name and ending with a ":".
The programme will get the list of files and folders under each path specified. It will then start checking each file. If it finds a file of the specified type, it then starts to check for resources of the specified type. If they exist it gets a list of these. It then checks this list to see if the string is within any of the names. Only the Names of resources are searched so their are a lot of resources that can't be searched since many programmers do not attach names to their resources. IT DOES NOT SEARCH THE RESOURCE ITSELF. The search is case insensitive. If a match is found then it is reported in the search results field.
As the search proceeds messages indicating what is going on are put into the search message field. If this field hits 29,000 characters, the first half of the field is deleted and searching continues. No check is made of the size of the search results field.
If you have done a search and you start another, the programme will give you the option of appending the new search to the old or deleting the old before beginning the new.
You can also dump the current results to a file or clear them out. This also clears the message field.
When the stack closes it clears both the message and results fields and compacts the stack if necessary.
I do not intend to do much with this stack. You can use it all you want and change it all you want. If you find a bug or you make an improvement I would appreciate hearing about it. Look at the end of this for info on how to contact me.
I have used several XFCNs from several sources. They are:
1) FileType - from Support Tools Externals ⌐ Apple
2) FolderContents - from Support Tools Externals ⌐ Apple
3) PopUpMenu - from Developer Stack 1.2r ⌐ Steve Drazga
4) Resources - from Developer Stack 1.2r ⌐ Steve Drazga
5) Search - from Power Tools ⌐ Claris (I think, couldn't find a notice)